<ion-modal-view style="right: 0;width: 275px;">
    <ion-header-bar>
        <button class="button button-clear button-positive" ng-click="modal.hide()">取消</button>
        <h1 class="title">筛选</h1>
        <button class="button button-clear button-assertive">确定</button>
    </ion-header-bar>
    <ion-content>
        <!--<ul class="list crm-list-ul">-->
            <!--<li class="item item-icon-right">-->
                <!--<div class="row">-->
                    <!--<div class="col-60">-->
                        <!--健康程度-->
                    <!--</div>-->
                    <!--<div class="col-40 text-right item-right" ng-click="showJk=!showJk">-->
                        <!--<p>全部</p>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<i class="icon ion-chevron-right icon-accessory"></i>-->
            <!--</li>-->
            <!--<li class="list-item list-child padding-left" ng-show="showJk">-->
                <!--<ion-radio ng-model="choice" ng-value="''">全部</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'A'">A</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'B'">B</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'C'">C</ion-radio>-->
            <!--</li>-->
            <!--<li class="item item-icon-right">-->
                <!--<div class="row">-->
                    <!--<div class="col-60">-->
                        <!--是否分销合作-->
                    <!--</div>-->
                    <!--<div class="col-40 text-right item-right"  ng-click="showFx=!showFx">-->
                        <!--<p>全部</p>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<i class="icon ion-chevron-right icon-accessory"></i>-->
            <!--</li>-->
            <!--<li class="list-item list-child padding-left" ng-show="showFx">-->
                <!--<ion-radio ng-model="choice" ng-value="''">全部</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'A'">A</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'B'">B</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'C'">C</ion-radio>-->
            <!--</li>-->
            <!--<li class="item item-icon-right">-->
                <!--<div class="row">-->
                    <!--<div class="col-60">-->
                        <!--是否供销链合作-->
                    <!--</div>-->
                    <!--<div class="col-40 text-right item-right"  ng-click="showGx=!showGx">-->
                        <!--<p>全部</p>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<i class="icon ion-chevron-right icon-accessory"></i>-->
            <!--</li>-->
            <!--<li class="list-item list-child padding-left" ng-show="showGx">-->
                <!--<ion-radio ng-model="choice" ng-value="''">全部</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'A'">A</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'B'">B</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'C'">C</ion-radio>-->
            <!--</li>-->
            <!--<li class="item item-icon-right">-->
                <!--<div class="row">-->
                    <!--<div class="col-60">-->
                        <!--是否洗涤合作-->
                    <!--</div>-->
                    <!--<div class="col-40 text-right item-right" ng-click="showXd=!showXd">-->
                        <!--<p>全部</p>-->
                    <!--</div>-->
                <!--</div>-->
                <!--<i class="icon ion-chevron-right icon-accessory"></i>-->
            <!--</li>-->
            <!--<li class="list-item list-child padding-left" ng-show="showXd">-->
                <!--<ion-radio ng-model="choice" ng-value="''">全部</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'A'">A</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'B'">B</ion-radio>-->
                <!--<ion-radio ng-model="choice" ng-value="'C'">C</ion-radio>-->
            <!--</li>-->
        <!--</ul>-->


            <ul class="list crm-list-ul">
                <div  ng-repeat="group in groups">
                    <li class="item item-icon-right"
                        ng-click="toggleGroup(group)">
                        <div class="row">
                            <div class="col-60">
                                {{group.name}}
                            </div>
                            <div class="col-40 text-right item-right">
                                <p>{{group.selected ? group.selected.name : '全部' }}</p>
                            </div>
                        </div>
                        <i class="icon icon-accessory"  ng-class="isGroupShown(group) ? 'ion-chevron-down' : 'ion-chevron-right'"></i>
                    </li>
                    <li class="list-item list-child padding-left">
                        <ion-radio class="item-accordion" ng-model="group.selected" ng-value="item" ng-repeat="item in group.items"
                                   ng-show="isGroupShown(group)"> {{item.name}}</ion-radio>
                    </li>
                </div>
            </ul>
        </ion-list>
    </ion-content>
</ion-modal-view>
